import { GuildFlameAdd } from "./GuildFlameAdd";
type int = number;
//class PlayerBody
    
    export  class PlayerBody /* flash.display.Sprite */
    {
        

        public clear(): void
        {
            this._gap = 0;
            return;
        }

        public addGap(arg1: int): void
        {
            this._gap = this._gap + arg1;
            return;
        }

        public /* override */ get height(): number
        {
            var loc1=0;
            var loc3=null;
            var loc4=0;
            var loc2=numChildren;
            while (loc1 < loc2) 
            {
                loc3 = getChildAt(loc1);
                if (typeof loc3 === "guildflameadd") 
                {
                    ++loc1;
                    continue;
                }
                loc4 = loc4 + loc3.height;
                ++loc1;
            }
            return loc4 + this._gap;
        }

        /* internal */ /* var */_gap: int;
    }
